﻿using System;
using SharpSqlAnalyzer.nodes.hive;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x0200029F RID: 671
	public class TCreateDatabaseSqlNode : TParseTreeNode
	{
		// Token: 0x17000428 RID: 1064
		// (get) Token: 0x060015E5 RID: 5605 RVA: 0x00326934 File Offset: 0x00324B34
		// (set) Token: 0x060015E6 RID: 5606 RVA: 0x0032693C File Offset: 0x00324B3C
		public TObjectName characterSet
		{
			get
			{
				return this._characterSet;
			}
			set
			{
				this._characterSet = value;
			}
		}

		// Token: 0x17000429 RID: 1065
		// (get) Token: 0x060015E7 RID: 5607 RVA: 0x00326945 File Offset: 0x00324B45
		// (set) Token: 0x060015E8 RID: 5608 RVA: 0x0032694D File Offset: 0x00324B4D
		public TObjectName collationName
		{
			get
			{
				return this._collationName;
			}
			set
			{
				this._collationName = value;
			}
		}

		// Token: 0x060015E9 RID: 5609 RVA: 0x00326956 File Offset: 0x00324B56
		public void setCharacterSetAndCollationName(TDummy dummy)
		{
			this._characterSet = (TObjectName)dummy.node1;
			this._collationName = (TObjectName)dummy.node2;
		}

		// Token: 0x060015EA RID: 5610 RVA: 0x0032697A File Offset: 0x00324B7A
		public void setDbProperties(THiveWithDBPropertiesClause c)
		{
			this.DbProperties = c;
		}

		// Token: 0x060015EB RID: 5611 RVA: 0x00326983 File Offset: 0x00324B83
		public void setDbLocation(TObjectName n)
		{
			this.DbLocation = n;
		}

		// Token: 0x060015EC RID: 5612 RVA: 0x0032698C File Offset: 0x00324B8C
		public void setDatabaseComment(TObjectName n)
		{
			this.DatabaseComment = n;
		}

		// Token: 0x060015ED RID: 5613 RVA: 0x00326995 File Offset: 0x00324B95
		public void setIfNotExists(bool b)
		{
			this.IfNotExists = b;
		}

		// Token: 0x060015EE RID: 5614 RVA: 0x0032699E File Offset: 0x00324B9E
		public void setDatabase(TSourceToken st)
		{
			this._database = st;
		}

		// Token: 0x1700042A RID: 1066
		// (get) Token: 0x060015EF RID: 5615 RVA: 0x003269A7 File Offset: 0x00324BA7
		public virtual TObjectName DbOwner
		{
			get
			{
				return this._dbOwner;
			}
		}

		// Token: 0x1700042B RID: 1067
		// (get) Token: 0x060015F1 RID: 5617 RVA: 0x003269B8 File Offset: 0x00324BB8
		// (set) Token: 0x060015F0 RID: 5616 RVA: 0x003269AF File Offset: 0x00324BAF
		public virtual TSourceToken Database
		{
			get
			{
				return this._database;
			}
			set
			{
				this._database = value;
			}
		}

		// Token: 0x1700042C RID: 1068
		// (get) Token: 0x060015F2 RID: 5618 RVA: 0x003269C0 File Offset: 0x00324BC0
		// (set) Token: 0x060015F3 RID: 5619 RVA: 0x003269C8 File Offset: 0x00324BC8
		public virtual TObjectName DatabaseComment
		{
			get
			{
				return this._databaseComment;
			}
			set
			{
				this._databaseComment = value;
			}
		}

		// Token: 0x1700042D RID: 1069
		// (get) Token: 0x060015F4 RID: 5620 RVA: 0x003269D1 File Offset: 0x00324BD1
		// (set) Token: 0x060015F5 RID: 5621 RVA: 0x003269D9 File Offset: 0x00324BD9
		public virtual TObjectName DbLocation
		{
			get
			{
				return this._dbLocation;
			}
			set
			{
				this._dbLocation = value;
			}
		}

		// Token: 0x1700042E RID: 1070
		// (get) Token: 0x060015F6 RID: 5622 RVA: 0x003269E2 File Offset: 0x00324BE2
		// (set) Token: 0x060015F7 RID: 5623 RVA: 0x003269EA File Offset: 0x00324BEA
		public virtual THiveWithDBPropertiesClause DbProperties
		{
			get
			{
				return this._dbProperties;
			}
			set
			{
				this._dbProperties = value;
			}
		}

		// Token: 0x1700042F RID: 1071
		// (get) Token: 0x060015F8 RID: 5624 RVA: 0x003269F3 File Offset: 0x00324BF3
		// (set) Token: 0x060015F9 RID: 5625 RVA: 0x003269FB File Offset: 0x00324BFB
		public virtual bool IfNotExists
		{
			get
			{
				return this._ifNotExists;
			}
			set
			{
				this._ifNotExists = value;
			}
		}

		// Token: 0x17000430 RID: 1072
		// (get) Token: 0x060015FA RID: 5626 RVA: 0x00326A04 File Offset: 0x00324C04
		public virtual TObjectName DatabaseName
		{
			get
			{
				return this._databaseName;
			}
		}

		// Token: 0x060015FB RID: 5627 RVA: 0x00326A0C File Offset: 0x00324C0C
		public override void init(object arg1)
		{
			this._databaseName = (TObjectName)arg1;
			this._databaseName.ObjectType = 22;
		}

		// Token: 0x060015FC RID: 5628 RVA: 0x00326A27 File Offset: 0x00324C27
		public override void init(object arg1, object arg2)
		{
			this.init(arg1);
			this._dbOwner = (TObjectName)arg2;
		}

		// Token: 0x04001759 RID: 5977
		private TObjectName _characterSet;

		// Token: 0x0400175A RID: 5978
		private TObjectName _collationName;

		// Token: 0x0400175B RID: 5979
		private bool _ifNotExists;

		// Token: 0x0400175C RID: 5980
		private TObjectName _databaseName;

		// Token: 0x0400175D RID: 5981
		private TObjectName _databaseComment;

		// Token: 0x0400175E RID: 5982
		private TObjectName _dbLocation;

		// Token: 0x0400175F RID: 5983
		private TSourceToken _database;

		// Token: 0x04001760 RID: 5984
		private TObjectName _dbOwner;

		// Token: 0x04001761 RID: 5985
		private THiveWithDBPropertiesClause _dbProperties;
	}
}
